package net.elitecoderz.blog;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RichTextArea;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;


/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Core implements EntryPoint {
	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		final RichTextArea textArea = new RichTextArea();
		final RichTextToolbar toolBar = new RichTextToolbar(textArea);
		VerticalPanel vp = new VerticalPanel();
		textArea.setWidth("100%");
		
		vp.add(toolBar);
		vp.add(textArea);
		
		RootPanel.get("target").add(vp);
	}
}
